package com.itboy.mall.pms.skuinfo.bo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import com.itboy.common.core.domain.BaseEntity;

/**
 * sku信息分页查询对象 mall_sku_info
 *
 * @author itboy
 * @date 2021-08-08
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("sku信息分页查询对象")
public class MallSkuInfoQueryBo extends BaseEntity {

    /**
     * 分页大小
     */
	@ApiModelProperty("分页大小")
	private Integer pageSize;
    /**
     * 当前页数
     */
	@ApiModelProperty("当前页数")
	private Integer pageNum;
    /**
     * 排序列
     */
	@ApiModelProperty("排序列")
	private String orderByColumn;
    /**
     * 排序的方向desc或者asc
     */
	@ApiModelProperty(value = "排序的方向", example = "asc,desc")
	private String isAsc;


    /**
     * sku名称
     */
	@ApiModelProperty("sku名称")
	private String skuName;
    /**
     * sku介绍描述
     */
	@ApiModelProperty("sku介绍描述")
	private String skuDesc;
    /**
     * 所属分类id
     */
	@ApiModelProperty("所属分类id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long catalogId;
    /**
     * 品牌id
     */
	@ApiModelProperty("品牌id")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long brandId;

	/**
	 * spuId
	 */
	@ApiModelProperty("spuId")
	@JsonSerialize(using = ToStringSerializer.class)
	private Long spuId;
    /**
     * 标题
     */
	@ApiModelProperty("标题")
	private String skuTitle;
    /**
     * 副标题
     */
	@ApiModelProperty("副标题")
	private String skuSubtitle;
    /**
     * 价格
     */
	@ApiModelProperty("价格")
	private BigDecimal beginPrice;

	/**
	 * 价格
	 */
	@ApiModelProperty("价格")
	private BigDecimal endPrice;

}
